package service;

import dao.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.Student;

import java.util.List;

@Service
public class StudentService  {

    @Autowired
    private StudentMapper studentMapper;
    public List<Student> findStudentAll() {
        List<Student> list=studentMapper.queryStudentAll();
        return list;
    }
}
